import { UserModel } from "./User";

interface Store {
    sid?: number,
    uid: number,
    address?: string,
    name: string,
    description: string,
    isAuth?: number,
    count?: number,
    point?: number,
    createTime?: Date,
    authTime?: Date,
    status?: number,
    express: string,
    user?: UserModel
}

export class StoreModel implements Store {
    sid?: number | undefined;
    uid!: number;
    address?: string | undefined;
    name!: string;
    description!: string;
    isAuth?: number | undefined;
    count?: number | undefined;
    point?: number | undefined;
    createTime?: Date | undefined;
    authTime?: Date | undefined;
    status?: number | undefined;
    express!: string;
    user?: UserModel | undefined;

}